package main

import (
	"fmt"
)
func rectProps1(length, width float64)(area, perimeter float64) {
   area = length * width
   perimeter = (length + width) * 2
   return // 不需要明确指定返回值，默认返回 area, perimeter 的值
}

func main() {
	area, perimeter := rectProps1(10.8, 5.6)
	fmt.Printf("Area %f Perimeter %f", area, perimeter)
}